package com.sise.dbservice8001.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author:ljf
 * @date: 2020/6/8
 * @description:
 **/
@Data
@Entity
@Table(name = "person")
public class Person {

    @Id
    private Integer id;

    private String name;

    private Integer age;
}
